﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopTaobaokeReportMember")]
    public class TopTaobaokeReportMember : BaseObject
    {
        //begin
        public TopTaobaokeReportMember()
        {}
        public TopTaobaokeReportMember(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _CommissionRate;
        public string CommissionRate
        {
            get
            {
                return _CommissionRate;
            }
            set
            {
                SetPropertyValue("CommissionRate", ref _CommissionRate, value);
            }
        }
        private decimal _RealPayFee;
        public decimal RealPayFee
        {
            get
            {
                return _RealPayFee;
            }
            set
            {
                SetPropertyValue("RealPayFee", ref _RealPayFee, value);
            }
        }
        private string _AppKey;
        public string AppKey
        {
            get
            {
                return _AppKey;
            }
            set
            {
                SetPropertyValue("AppKey", ref _AppKey, value);
            }
        }
        private string _OuterCode;
        public string OuterCode
        {
            get
            {
                return _OuterCode;
            }
            set
            {
                SetPropertyValue("OuterCode", ref _OuterCode, value);
            }
        }
        private string _TradeId;
        public string TradeId
        {
            get
            {
                return _TradeId;
            }
            set
            {
                SetPropertyValue("TradeId", ref _TradeId, value);
            }
        }
        private DateTime _PayTime;
        public DateTime PayTime
        {
            get
            {
                return _PayTime;
            }
            set
            {
                SetPropertyValue("PayTime", ref _PayTime, value);
            }
        }
        private decimal _PayPrice;
        public decimal PayPrice
        {
            get
            {
                return _PayPrice;
            }
            set
            {
                SetPropertyValue("PayPrice", ref _PayPrice, value);
            }
        }
        private string _NumIid;
        public string NumIid
        {
            get
            {
                return _NumIid;
            }
            set
            {
                SetPropertyValue("NumIid", ref _NumIid, value);
            }
        }
        private string _ItemTitle;
        public string ItemTitle
        {
            get
            {
                return _ItemTitle;
            }
            set
            {
                SetPropertyValue("ItemTitle", ref _ItemTitle, value);
            }
        }
        private long _ItemNum;
        public long ItemNum
        {
            get
            {
                return _ItemNum;
            }
            set
            {
                SetPropertyValue("ItemNum", ref _ItemNum, value);
            }
        }
        private string _CategoryId;
        public string CategoryId
        {
            get
            {
                return _CategoryId;
            }
            set
            {
                SetPropertyValue("CategoryId", ref _CategoryId, value);
            }
        }
        private string _CategoryName;
        public string CategoryName
        {
            get
            {
                return _CategoryName;
            }
            set
            {
                SetPropertyValue("CategoryName", ref _CategoryName, value);
            }
        }
        private string _ShopTitle;
        public string ShopTitle
        {
            get
            {
                return _ShopTitle;
            }
            set
            {
                SetPropertyValue("ShopTitle", ref _ShopTitle, value);
            }
        }
        private decimal _Commission;
        public decimal Commission
        {
            get
            {
                return _Commission;
            }
            set
            {
                SetPropertyValue("Commission", ref _Commission, value);
            }
        }
        private string _Iid;
        public string Iid
        {
            get
            {
                return _Iid;
            }
            set
            {
                SetPropertyValue("Iid", ref _Iid, value);
            }
        }
        private string _SellerNick;
        public string SellerNick
        {
            get
            {
                return _SellerNick;
            }
            set
            {
                SetPropertyValue("SellerNick", ref _SellerNick, value);
            }
        }
        private TopTaobaokeReport _TopTaobaokeReport;
        [Association("TopTaobaokeReportTaobaokeReportMembers", typeof(TopTaobaokeReport))]
        public TopTaobaokeReport TaobaokeReport
        {
            get
            {
                return _TopTaobaokeReport;
            }
            set
            {
                SetPropertyValue("TopTaobaokeReport", ref _TopTaobaokeReport, value);
            }
        }
        //end

    }
}
